fromPFMFile

fun fromPFMFile(fileName: String): HDRImage

Constructs an HDRImage by reading a PFM-formatted file at fileName.

Throws

if the file does not conform to the PFM specification